class Person:
    __name = "jdz"

    def __init__(self, name):
        self.name = name
    def get_name(self):
        return self.__name

p = Person("xxt")
print(p.get_name())
p._Person__name = "test"
print(p._Person__name)
print(p.get_name())